package com.example.sms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("course")
@Schema(description = "课程管理")
public class Course {

    @TableId(type=IdType.AUTO)
    @Schema(description = "主键id")
    private Integer id;
    @Schema(description = "课程名")
    private String courseName;
    @Schema(description = "教导教师id")
    private Integer teacherId;
    @Schema(description = "上课时间")
    private String time;
    @Schema(description = "上课地点")
    private String place;
    @Schema(description = "课程类型")
    private String type;
}
